package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Praise;
import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.TagQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IStrategyCommentService {

    void saveOrUpdate(StrategyComment entity, String[] tags);

    PageInfo query(QueryObject qo);

    PageInfo queryForTags(TagQueryObject qo);


    List getUsers(Integer state);

    List queryComments(Long userId);

    void insertCommentPraise(Praise obj);

    void deleteCommentPraise(Praise obj);

    Boolean hasCommentPraise(Praise obj);

    StrategyComment getStrategyComment(Long strategyCommentId);

}
